//
//  FilemTableViewCell.m
//  UIhomework豆瓣
//
//  Created by dllo on 15/12/26.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "FilemTableViewCell.h"

@implementation FilemTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creatCell];
    }
    return self;
}
-(void)dealloc{
    [_imgview release];
    [_imgview1 release];
    [_label release];
    [super dealloc];
}
- (void)creatCell{
    self.imgview = [[UIImageView alloc] init];
    [self.contentView addSubview:_imgview];
    [_imgview release];
    self.imgview1 = [[UIImageView alloc] init];
    [_imgview addSubview:_imgview1];
    [_imgview1 release];
    self.label = [[UILabel alloc] init];
    [_imgview addSubview:_label];
    [_label release];
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.imgview.frame = CGRectMake(20, 5, 370, 220);
    self.imgview1.frame = CGRectMake(8, 5, 120, 210);
    self.label.frame = CGRectMake(140, 70, 200, 60);
    self.label.font = [UIFont systemFontOfSize:30];
}

@end
